package com.xjt.wx_admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjt.wx_admin.entity.UserApply;
import com.xjt.wx_admin.entity.dto.ApplyResult;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Xujt
 * @since 2023-03-22 11:33:28
 */
public interface UserApplyMapper extends BaseMapper<UserApply> {

    /**
     * 得到好友申请列表
     *
     * @param userId 用户id
     * @return {@link List}<{@link ApplyResult}>
     */
    List<ApplyResult> getApplyList(Long userId);
}
